﻿
<div id="UserVisitHistoryForm">
    <div class="title"><h3>Your Visit History</h3></div>
    <div class="panel-content">
        <table>
            <thead>
                <tr class="row list-head">
                    <th class="col-lg-2 col-md-2 col-sm-2 col-xs-2">ID</th>
                    <th class="col-lg-2 col-md-2 col-sm-2 col-xs-2">Create Date</th>
                    <th class="col-lg-2 col-md-2 col-sm-2 col-xs-2">Update Date</th>
                    <th class="col-lg-5 col-md-5 col-sm-5 col-xs-5">Symptom</th>
                    <th class="col-lg-1 col-md-1 col-sm-1 col-xs-1">Action</th>
                </tr>
            </thead>
            <tbody>
                <tr class="row listVisitHistory-body">
                    <td class="col-lg-12 col-md-12 col-sm-12 col-xs-12" colspan="5">
                        <div>
                            <table id="listVisit">
                                <tbody data-bind="foreach: Visits">
                                    <tr class="row list-item">
                                        <td class="col-lg-2 col-md-2 col-sm-2 col-xs-2" data-bind="text: VisitID"></td>
                                        <td class="col-lg-2 col-md-2 col-sm-2 col-xs-2" data-bind="datetime: CreateDate"></td>
                                        <td class="col-lg-2 col-md-2 col-sm-2 col-xs-2" data-bind="datetime: UpdateDate"></td>
                                        <td class="col-lg-5 col-md-5 col-sm-5 col-xs-5" data-bind="text: Symptom"></td>
                                        <td class="col-lg-1 col-md-1 col-sm-1 col-xs-1 print">Print</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
            </tbody>
            <tfoot>
                <tr class="row list-foot">
                    <td colspan="5" class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                        <table>
                            <tbody>
                                <tr class="row list-nav">
                                    <td class="col-lg-5 col-md-5 col-sm-5 col-xs-5 previous-group">
                                        <div class="btn-group">
                                            <div id="firstVisitPage" class="btn btn-default"><<</div>
                                            <div id="previousVisitPage" class="btn btn-default"><</div>
                                        </div>
                                    </td>
                                    <td class="col-lg-2 col-md-2 col-sm-2 col-xs-2 page-info">
                                        <div id="pageInfo" data-bind="text: VisitsPageInfo"></div>
                                    </td>
                                    <td class="col-lg-5 col-md-5 col-sm-5 col-xs-5 next-group">
                                        <div class="btn-group">
                                            <div id="nextVisitPage" class="btn btn-default">></div>
                                            <div id="lastVisitPage" class="btn btn-default">>></div>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
</div>